package com.second.app.thread.synchroized.D;

/**
 * @Author GYZ
 * <pre>
 *
 * </pre>
 */
public class ThreadB extends Thread{

    private Service service;

    public ThreadB(Service service){
        this.service =service;
    }

    @Override
    public void run() {
        service.setUsernamePassword("b","bb");
    }
}
